package comday02.itheima01;

//导包
import java.util.Scanner;

public class Demo02 {
    public static void main(String[] args) {
        //创建对象
        Scanner sc = new Scanner(System.in);

        //输入整数
        System.out.println("请输入一个整数：");
        int i = sc.nextInt();
        System.out.println(i);

        System.out.println("请输入一个整数：");
        int j = sc.nextInt();
        System.out.println(j);



        //输入字符串
        System.out.println("请输入一个字符串：");
        String s = sc.next();
        System.out.println(s);

    }
}
